package com.csx.base.design.behavior.strategy;

/**
 * @author cuisongxu
 * @date 2022/9/29 12:09
 */
public class Client {

    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.setUsb(new KeyBoard());
        computer.compute();

        computer.setUsb(new Camera());
        computer.compute();

        computer.setUsb(new Mouse());
        computer.compute();
    }
}
